package com.fps.web.service.impl;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.BaseUserLogDao;
import com.fps.web.model.BaseUserLog;
import com.fps.web.service.BaseUserLogService;
@Service
@Transactional
@SuppressWarnings({ "rawtypes"})  
public class BaseUserLogServiceImpl implements BaseUserLogService{
    
    @Autowired
    BaseUserLogDao baseUserLogDao;
                                                                                                                                                                                                                                                                                                                    
    /**
	 * 获取所有用户日志
	 * @param pageEntity
	 * @return pageEntity:用户日志数据
	 * @throws BusinessException
	 */
	public PageEntity queryUserLogList(PageEntity pageEntity)  throws BusinessException{
		return baseUserLogDao.queryUserLogList(pageEntity);
	}

	/**
	 * 保存用户
	 * @param baseUserLog
	 * @return Map:用户日志
	 * @throws BusinessException
	 */
	public BaseUserLog addUserLog(BaseUserLog baseUserLog)  throws BusinessException{
		return baseUserLogDao.addUserLog(baseUserLog);
	}
}
